package JavaSE.d5;
//	编写一段代码，使代码在运行中报出空指针异常
public class Test5 {
    public static void main(String[] args) {
        int a[]=new int[5];
        try {
            a[10]=9;
        }catch (NullPointerException e){
            e.printStackTrace();
        }finally {
            System.out.println("结束");
        }

    }
}
